package com.dyh.quickdemo.bizDemo;

import org.junit.jupiter.api.Test;

import java.util.Map;

/*
@Author=Joey Wheeler
@Date=2021/3/9 16:38
*/
public class NeS {
    public static void main(String[] args) {
        System.out.println(String.format("<![CDATA[%s]]>",null2empty("adwwad")));
        System.out.println(String.format("_%s_",null2empty("dawd")));
    }

    public static String null2empty(String in){
        return in==null?"":in;
    }
}
